package com.qf.eduadmin.controller;

import com.qf.eduadmin.pojo.vo.QfCourseClassify;
import com.qf.eduadmin.service.QfCourseClassifyService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (QfCourseClassify)表控制层
 *
 * @author makejava
 * @since 2021-12-25 21:12:19
 */
@RestController
@RequestMapping("/qfCourseClassify")
public class QfCourseClassifyController {
    /**
     * 服务对象
     */
    @Resource
    private QfCourseClassifyService qfCourseClassifyService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public QfCourseClassify selectOne(Integer id) {
        return this.qfCourseClassifyService.queryById(id);
    }

}